package io.github.wanggit.antrpc.console.service.dto;

import lombok.Data;

import java.io.Serializable;

@Data
public class InterfaceCalledDetailsDTO implements Serializable {
    private static final long serialVersionUID = 505375612811721835L;

    private String methodName;
    /** 被调用总次数 */
    private long count;
    /** 最近1分钟内QPS */
    private long qps1;
    /** 最近5分钟内QPS */
    private long qps5;
    /** 最近15分钟内QPS */
    private long qps15;
    /** 最小RT ms */
    private double rtMin;
    /** 平均RT ms */
    private double rtMean;
    /** 最大RT ms */
    private double rtMax;

    /** 1%场景的RT */
    private double rt1;
    /** 5%场景的RT */
    private double rt5;
    /** 25%场景的RT */
    private double rt25;
    /** 50%场景的RT */
    private double rt50;
    /** 75%场景的RT */
    private double rt75;
    /** 95%场景的RT */
    private double rt95;
    /** 99%场景的RT */
    private double rt99;
}
